package cn.trda.service;

import java.util.List;

import cn.trda.pojo.RolePremission;

public interface PermissionService {

    int insert(RolePremission record);

    List<RolePremission> selectByRoleid(Long roleid);
    public void tx_delAddPremission(RolePremission pm, String flist)throws Exception;
   
	public int deleteByRoleId(Long id) throws Exception;

}
